<?php TPL::output('admin/global/header.tpl.htm'); ?>
<?php TPL::output('admin/global/nav_menu.tpl.htm'); ?>

<div class="aw-content-wrap">
    <div class="mod">
        <div class="mod-head">
            <h3>
                <ul class="nav nav-tabs">
                    <li class="active"><a href="#list" data-toggle="tab"><?php _e('钩子管理'); ?></a></li>
                </ul>
            </h3>
        </div>

        <div class="mod-body tab-content">
            <div class="tab-pane active" id="list">
                <div class="table-responsive">
                <?php if ($this->lists) { ?>

                    <table class="table table-striped">
                        <thead>
                            <tr>
                                <th><?php _e('钩子名称'); ?></th>
                                <th><?php _e('函数名称'); ?></th>
                                <th><?php _e('描述'); ?></th>
                                
                            </tr>
                        </thead>
                        <tbody>
                            <?php foreach ($this->lists AS $val) { ?>
                            <tr>
                                <td><a href="javascript:;" ><?php _e($val['name']); ?></a></td>
                                <td><a href="javascript:;" ><?php _e($val['function_name']); ?></a></td>
                                <td><a href="javascript:;" ><?php _e($val['desc']); ?></a></td>
                            </tr>
                            <?php } ?>
                        </tbody>
                    </table>
                <?php } ?>
                </div>

                <div class="mod-table-foot">
                    <?php echo $this->pagination; ?>                 
                </div>
            </div>
        </div>
    </div>
</div>

<?php TPL::output('admin/global/footer.tpl.htm'); ?>